home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
utility
/
tsbat50.zip
/
LOOP.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-11-09
|
719b
|
22 lines
@echo off
rem An index loop demonstration by prof. Timo Salmi 9-Nov-1991
rem The purpose of this batch is simply to demonstrate that index
rem loops can be built with batch techniques. The loop below will
rem be performed 50 times.
rem If you get an "Out of environment space" message, increase your
rem environment space by using shell configuration in config.sys:
rem MsDos 3.30 example: shell=c:\bin\command.com /e:1024 /p
set _i=
:_loop
set _i=%_i%x
echo %_i%
rem 1 2 3 4 5
rem 123456789 123456789 123456789 123456789 123456789
if not "%_i%"=="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" goto _loop
set _i=
echo on